@page
@{ Layout = "_Layout"; }

<el-card>
    <div slot="header" class="clearfix">
        <span>题目纠错审核</span>
        <el-button style="float: right;padding:3px 0;" type="text" v-on:click="utils.closeLayerSelf"><i class="el-icon-close"></i></el-button>
    </div>
    <el-scrollbar class="scrollbar" :style="{ height: ($(window).innerHeight()-180) + 'px' }">
        <div style="margin-right:18px;">
            <el-form v-on:submit.native.prevent :size="euiSize" ref="form" :model="form" label-width="120px">
                <el-form-item label="审核状态" prop="auditStatus">
                    <el-select v-model="form.auditStatus" class="form-control">
                        <el-option v-for="auditStatus in statusList"
                                   :key="auditStatus.value"
                                   :label="auditStatus.label"
                                   :value="auditStatus.value">
                        </el-option>
                    </el-select>
                </el-form-item>
                <el-form-item label="审核理由" prop="auditResaon" :rules="{ required:form.auditStatus==='Danger' ? true :false, message: '请输入审核理由' }">
                    <el-input type="textarea" :autosize="{ minRows: 3}" v-model="form.auditResaon"></el-input>
                </el-form-item>
            </el-form>
        </div>
    </el-scrollbar>
</el-card>
<el-row align="center" style="margin-top:18px;">
    <el-col :span="24" align="center">
        <el-button icon="el-icon-check" type="primary" v-on:click="btnSubmitClick" :size="euiSize">确 定</el-button>
        <el-button icon="el-icon-close" :size="euiSize" v-on:click="utils.closeLayerSelf">取 消</el-button>
    </el-col>
</el-row>
@section Scripts{
    <script src="/sitefiles/assets/js/admin/exam/examTmCorrectionAudit.js" type="text/javascript"></script>
}